# *_*coding:utf-8 *_*
# @Author : Reggie
# @Time : 2022/1/6 16:39

import os

if __name__ == '__main__':
    os.chdir(r"""\Users\wt\Project\CompanyProject\UIT\PyProject\uxs-dashboard\src\agent\proto\pb""")
    err = os.system(
        r"""\Users\wt\Project\CompanyProject\UIT\PyProject\uxs-dashboard\venv\Scripts\python.exe  -m grpc_tools.protoc -I. --python_out=.. --grpc_python_out=.. *.proto""")
    print(err)
